﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KinectGestureRecognition
{
    class TestClass
    {

        float dX = first.Position.X - second.Position.X;
        float dY = first.Position.Y - second.Position.Y;
        float dZ = first.Position.Z - second.Position.Z;

        float distance_Ebene = Math.Sqrt((dX * dX) + (dY * dY));
        float distance_Raum = Math.Sqrt((dX * dX) + (dY * dY) + (dZ * dZ));

        int playerNo = depthData[depthPos] & 7;

        int depthValue = depthData[i] >> 3;

        int depthValue = depthData[i] >> DepthImageFrame.PlayerIndexBitmask;
        int playerNo = depthData[i] & DepthImageFrame.PlayerIndexBitmaskWidth;

        velocity(EndPoint.X - StartPoint.X, EndPoint.Y - StartPoint.Y, EndPoint.Z - StartPoint.Z)
    }
}
